package com.mchat.config;

import com.huaban.analysis.jieba.JiebaSegmenter;

/**
 * Jieba分词器单例类
 * 线程安全的懒汉式单例实现
 */
public class JiebaSegmenterSingleton {
    private static final JiebaSegmenter INSTANCE=new JiebaSegmenter();

    public static JiebaSegmenter getInstance(){
        return INSTANCE;
    }
}